let app = getApp()
let WxParse = require('../../wxParse/wxParse.js')
Page({

  /**
   * 页面的初始数据
   */
  data: {

  },
  onLoad () {
    let that = this
    app.util.request({
      url: 'entry/wxapp/gamerules',
      success: (res) => {
        // console.log(res.data.data.game_rules)
        let article = res.data.data.game_rules
        WxParse.wxParse('article', 'html', article, that, 5)
      }
    })
  }
})
